package com.zsyh.changshang.bean;

import com.zsyh.changshang.basic.BaseResult;

public class LoginBean extends BaseResult {


    /**
     * success : true
     * errorCode : 0
     * msg : 成功
     * data : {"user":{"factory_person":"测试人员","factory_phone":"18736033907","factory_address":"龙湖镇中原电商大厦","modifyDate":"2020-01-03 23:46:39","devoCode":"866953035429078","factory_area":"410184","factory_code":"18736033907","factory_name":"测试厂家","factory_licence":"http://www.zsyhtest.com/image/user/factoryLicence/730576832063082496/touxiang1578037584070-0.jpg","factory_email":"625230100@qq.com","rejection_reason":"1111","id":"730576832063082496","factory_state":"-1","createDate":"2020-01-03 15:46:25"},"token":{"token":"token:MOBILE-549827a3ff5006b82fb087a4e9212457-730576832063082496-54ca49-d9e311","expTime":1578044921744,"genTime":1578037721744}}
     */

    private String success;
    private String errorCode;
    private String msg;
    private DataBean data;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean extends BaseResult{
        /**
         * user : {"factory_person":"测试人员","factory_phone":"18736033907","factory_address":"龙湖镇中原电商大厦","modifyDate":"2020-01-03 23:46:39","devoCode":"866953035429078","factory_area":"410184","factory_code":"18736033907","factory_name":"测试厂家","factory_licence":"http://www.zsyhtest.com/image/user/factoryLicence/730576832063082496/touxiang1578037584070-0.jpg","factory_email":"625230100@qq.com","rejection_reason":"1111","id":"730576832063082496","factory_state":"-1","createDate":"2020-01-03 15:46:25"}
         * token : {"token":"token:MOBILE-549827a3ff5006b82fb087a4e9212457-730576832063082496-54ca49-d9e311","expTime":1578044921744,"genTime":1578037721744}
         */

        private UserBean user;
        private TokenBean token;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public TokenBean getToken() {
            return token;
        }

        public void setToken(TokenBean token) {
            this.token = token;
        }

        public static class UserBean extends BaseResult{
            /**
             * factory_person : 测试人员
             * factory_phone : 18736033907
             * factory_address : 龙湖镇中原电商大厦
             * modifyDate : 2020-01-03 23:46:39
             * devoCode : 866953035429078
             * factory_area : 410184
             * factory_code : 18736033907
             * factory_name : 测试厂家
             * factory_licence : http://www.zsyhtest.com/image/user/factoryLicence/730576832063082496/touxiang1578037584070-0.jpg
             * factory_email : 625230100@qq.com
             * rejection_reason : 1111
             * id : 730576832063082496
             * factory_state : -1
             * createDate : 2020-01-03 15:46:25
             */

            private String factory_person;
            private String factory_phone;
            private String factory_address;
            private String modifyDate;
            private String devoCode;
            private String factory_area;
            private String factory_code;
            private String factory_name;
            private String factory_licence;
            private String factory_email;
            private String rejection_reason;
            private String id;
            private String factory_state;
            private String createDate;

            public String getFactory_person() {
                return factory_person;
            }

            public void setFactory_person(String factory_person) {
                this.factory_person = factory_person;
            }

            public String getFactory_phone() {
                return factory_phone;
            }

            public void setFactory_phone(String factory_phone) {
                this.factory_phone = factory_phone;
            }

            public String getFactory_address() {
                return factory_address;
            }

            public void setFactory_address(String factory_address) {
                this.factory_address = factory_address;
            }

            public String getModifyDate() {
                return modifyDate;
            }

            public void setModifyDate(String modifyDate) {
                this.modifyDate = modifyDate;
            }

            public String getDevoCode() {
                return devoCode;
            }

            public void setDevoCode(String devoCode) {
                this.devoCode = devoCode;
            }

            public String getFactory_area() {
                return factory_area;
            }

            public void setFactory_area(String factory_area) {
                this.factory_area = factory_area;
            }

            public String getFactory_code() {
                return factory_code;
            }

            public void setFactory_code(String factory_code) {
                this.factory_code = factory_code;
            }

            public String getFactory_name() {
                return factory_name;
            }

            public void setFactory_name(String factory_name) {
                this.factory_name = factory_name;
            }

            public String getFactory_licence() {
                return factory_licence;
            }

            public void setFactory_licence(String factory_licence) {
                this.factory_licence = factory_licence;
            }

            public String getFactory_email() {
                return factory_email;
            }

            public void setFactory_email(String factory_email) {
                this.factory_email = factory_email;
            }

            public String getRejection_reason() {
                return rejection_reason;
            }

            public void setRejection_reason(String rejection_reason) {
                this.rejection_reason = rejection_reason;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getFactory_state() {
                return factory_state;
            }

            public void setFactory_state(String factory_state) {
                this.factory_state = factory_state;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }
        }

        public static class TokenBean extends BaseResult{
            /**
             * token : token:MOBILE-549827a3ff5006b82fb087a4e9212457-730576832063082496-54ca49-d9e311
             * expTime : 1578044921744
             * genTime : 1578037721744
             */

            private String token;
            private long expTime;
            private long genTime;

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public long getExpTime() {
                return expTime;
            }

            public void setExpTime(long expTime) {
                this.expTime = expTime;
            }

            public long getGenTime() {
                return genTime;
            }

            public void setGenTime(long genTime) {
                this.genTime = genTime;
            }
        }
    }
}
